<?php if( $calendar->getStatusId() == MyConstants::STATUS_APPROVED): ?>
    <?php echo link_to(__('disable'), 'calendar/changestatus?id=' . $calendar->getId()) ?>

<?php else: ?>
    <?php echo link_to(__('enable'), 'calendar/changestatus?id=' . $calendar->getId()) ?>

<?php endif; ?>